package org.apache.rocketmq.console.shiro.dao;

import java.util.List;

import org.apache.rocketmq.console.shiro.entity.UserPermission;
import org.springframework.data.repository.CrudRepository;

public interface UserPermissionDao extends CrudRepository<UserPermission, Long> {
	UserPermission findOneById(int id);

	List<UserPermission> findAll();
}
